package principle.lsp.code.before;

/**
 * Square
 *
 * @author l56jq
 * @since 2023/11/6 16:44
 */
public class Square extends Rectangle {

    @Override
    public void setLength(double value) {
        super.setLength(value);
        super.setWidth(value);
    }

    @Override
    public void setWidth(double value) {
        super.setWidth(value);
        super.setLength(value);
    }
}
